﻿using System.Windows.Media.Imaging;
using System.IO;
using System.IO.IsolatedStorage;

namespace Zeus.Classes.Documents
{
    public class ImageDocument : Document
    {

        public int Width{set ;get;}
        public int Height { set; get;}
        public BitmapImage Image{get;set;}
        public int PosX { get; set; }
        public int PosY { get; set; }
        public int PosZ { get; set; }
        public string Extenstion { get; set; }
        public int ImageSize { get; set; }

        public ImageDocument()
        {
            DocType =  ProjectItem_Types.Image;
            FilePath ="./"+Project.ProjectName+"/Images/"+FileName;
            Initilize();
        }
        public ImageDocument(Stream St)
        {
            DocType = ProjectItem_Types.Image;
            FilePath = "./" + Project.ProjectName + "/Images/" + FileName;
            Initilize();
        }
        public override void Save()
        {
          
        }

        public override void Initilize()
        {
           
        }
        public void read()
        {
            
        }
    }
}